Control.Close Method

Closes a control. Closing a control permanently removes the control from memory, making it impossible to access.

Syntax

You can close both non-indexed controls and indexed controls. When you close an indexed control, the indexes for the remaining controls will shift downward so that the indexes start with zero and are consecutive.